<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta name="description" content="Web que reúne videos independientes."/>
		<meta name="keywords" content="video, videos, corto, cortos, cortometrajes, cortometraje, free, gratis"/>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Web de cortometrajes</title>
		<link rel="shortcut icon" href="img/favicon.png" />
		
		<script type="text/javascript" src="js/language/Language.js"></script>
		<script type="text/javascript" src="js/Controller.js"></script>
		<script type="text/javascript" src="js/View.js"></script>
		<script type="text/javascript" src="js/ControlButton.js"></script>
		<script type="text/javascript" src="js/LabelButton.js"></script>
		<script type="text/javascript" src="js/home/HomeView.js"></script>
		<link rel="stylesheet" type="text/css" href="css/home/HomeView.php" title="Default CSS"/>
		
		<?php //echo $loginView; ?>
		<?php echo $videoMenuView; ?>
	</head>
	
<!--	<body onFocus="javascript:loginView.updateLoggedUser();">-->
	<body>
		<script type="text/javascript">
		<!--
			var homeViewController = new Controller("<?php echo $cotrollerUri;?>", "<?php echo $cotrollerName;?>", "<?php echo $cotrollerId;?>", true);
			var home = new HomeView(/*loginView,*/ homeViewController);

			var homeTag = home.getTag();
			document.body.className = "home-body-class";
			document.body.appendChild(homeTag);
		//-->
		</script>
		
<!--		http://jigsaw.w3.org/css-validator/-->
		<p style="text-align: right;">
			<a href="http://jigsaw.w3.org/css-validator/check/referer">
				<img style="border: 0; width: 88px; height: 31px"
				     src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" />
			</a>
			<a href="http://validator.w3.org/check?uri=referer">
				<img style="border: 0; width: 88px; height: 31px"
				     src="http://www.w3.org/Icons/valid-xhtml10"
				     alt="Valid XHTML 1.0 Transitional" height="31" width="88" />
			</a>
		</p>
	</body>
</html>
